home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #1 / Amiga Plus CD - 2000 - No. 1.iso / Tools / Dev / PMM / Developer / autostarts_src / IntuiSupBase.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-12-03  |  306 b   |  19 lines

  1. #include <stdio.h>
  2. #include <exec/libraries.h>
  3. #include <proto/exec.h>
  4.  
  5. struct Library *IntuiSupBase = NULL;
  6.  
  7. void _INIT_5_IntuiSupBase()
  8. {
  9.   if (!(IntuiSupBase = OpenLibrary("Intuisup.library",0))) {
  10.     exit(20);
  11.   }
  12. }
  13.  
  14. void _EXIT_5_IntuiSupBase()
  15. {
  16.   if (IntuiSupBase)
  17.     CloseLibrary(IntuiSupBase);
  18. }
  19.